package com.yl.module.property.domain.vo;


import java.time.LocalDateTime;

import com.yl.module.file.domain.vo.File2VO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 资产维修记录表 VO
 * @author makejava
 * @date 2024-10-23 15:54:16
 */
@Data
@ApiModel(value = "PropertyUpkeepVO", description = "资产维修记录表VO")
public class PropertyUpkeepVO implements Serializable {
	private static final long serialVersionUID = -87080968652971709L;

    @ApiModelProperty(value = "资产维修记录表-主键id")
    private Long id;

	@ApiModelProperty(value = "资产id 来源property.id")
    private Integer propertyId;

	@ApiModelProperty(value = "描述")
    private String describe;

	@ApiModelProperty(value = "操作人")
	private Long userId;

	@ApiModelProperty(value = "操作人")
	private String userName;

	@ApiModelProperty(value = "维修时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private LocalDateTime upkeepTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

	@ApiModelProperty(value = "文件")
	private List<File2VO> files;
}

